package com.jyy.prefabricated.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 题目详情表(QuestionDetails)实体类
 *
 * @author mrl
 * @since 2021-05-27 14:54:27
 */
@Data
public class QuestionDetails implements Serializable {
    private static final long serialVersionUID = -95022945200578125L;

    private Integer id;
    /**
     * 题目id
     */
    private Integer questionId;
    /**
     * 题目答案
     */
    private String answer;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 是否正确答案
     */
    private Boolean correct;
    /**
     * 材料题目id
     */
    private Integer materialQuestionId;
    /**
     * 租户编码
     */
    private String teamCode;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /**
     * 是否删除
     */
    private Boolean deleted;


}